package gizwits.centerair.function;

import java.util.HashMap;
import java.util.Map;

import gizwits.kit.Address;
import gizwits.kit.HttpKit;

import com.alibaba.fastjson.JSONObject;

public class IsOnline {

	public static void main(String[] args) {

		Map<String, Object> params = new HashMap<>();
		JSONObject json = new JSONObject();
		params.put("method", "isOnline");
		params.put("homeId", 978720);
		params.put("uid", 470);
		params.put("is_on", 1);
		//params.put("result", json);
		String result = HttpKit.post(Address.cenac_publish, params);
	}
}
